package com.uml.umlwork.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.uml.umlwork.entity.base.BaseEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;


/**
 * @author 少枫
 * @date 2021/1/6
 */
@NoArgsConstructor
@Getter
@Setter
@Accessors(chain = true)
@ApiModel("选课实体类")
@TableName(value = "uml_course_select",autoResultMap = true)
public class CourseSelect extends BaseEntity {

    // TODO: 2021/1/4 @Siki: 中间表不需要映射实体类

    @ApiModelProperty("是否确认")
    private Boolean hasConfirm;

    @ApiModelProperty("是否关闭")
    private Boolean hasLosed;

    @ApiModelProperty("理论成绩")
    private String scoreTheory;

    @ApiModelProperty("实验成绩")
    private String scoreLab;

    @ApiModelProperty("班级ID")
    private Integer classId;

    @ApiModelProperty("学生ID")
    private Integer studentId;

}
